<template>
  <el-button
    type="danger"
    size="small"
    icon="el-icon-delete"
    :disabled="disabled"
  >
    {{ name }}
  </el-button>
</template>
<script>
export default {
  name: 'btn-delete',
  props: {
    name: {
      type: String,
      default: '删除',
    },
    disabled: {
      type: Boolean,
      default: false,
    },
  },
}
</script>